const resolve = dir => require('path').join(__dirname, dir);

module.exports = {
    resolve: {
        alias: {
            '@': resolve('src'),
            style: resolve('src/style'),
            static: resolve('src/static'),
            component: resolve('src/components')
        }
    }
};
